<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>
    <title>Hello World!</title>
      <script src="http://cdn.bootcss.com/react/0.13.2/react.min.js"></script>
      <script src="http://cdn.bootcss.com/react/0.13.2/JSXTransformer.js"></script>
  </head>
  <body>
  <script type="text/jsx">
    //React.render方法可以渲染HTML结构，也可以渲染React组件。
	
	//渲染HTML标签，声明变量采用首字母小写
    var myDivElement = <div className="foo" />;
	React.render(myDivElement, document.body);
	
	//组件大写命名
	var MyComponent = React.createClass({/*...*/});
	var myElement = <MyComponent someProperty={true} />;
	React.render(myElement, document.body);
  </script>
  </body>
</html>